package com.crazy.writer.handlers;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;

import com.crazy.writer.demo.TextDialog;
import com.crazy.writer.handlers.console.view.WorkSpaceView;

public class OpenHandler extends AbstractHandler {

	@Override
	public Object execute(ExecutionEvent event) throws ExecutionException {
	    WorkSpaceView.getSelect();
	    TextDialog.start();
	    return null;
	}
}
